package com.ruyuan.starter.async.event;

import com.ruyuan.starter.async.AsyncContext;
import com.ruyuan.starter.async.listener.EventListener;

import java.util.List;

/**
 * @author zhonghuashishan
 */
public class WorkEvent {

    public BaseEvent event;

    public AsyncContext context;

    public List<EventListener> listeners;

    public void clear() {
        event = null;
        context = null;
        listeners = null;
    }
}